package com.wwq.learn_jpa.service;

import com.wwq.learn_jpa.model.dto.RightsCategoryDTO;
import com.wwq.learn_jpa.model.entity.RightsCategory;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;


public interface RightsCategoryService {

     Boolean addAndUpdate(RightsCategoryDTO rcDTO);

     RightsCategoryDTO findById(Long id);

     Page<RightsCategory> page(Pageable pageable);


}
